$(document).ready(function(){
		$.ajax({	
				 type: "POST",
				 method: "json",
				 url: "../model/sukatautocom.php",
				 dataType: "json",
				 data: "{}",
				 contentType: "application/json; charset=utf-8",
				 success: function(data) {
					$("#auto").autocomplete({
						source: data['Meno']
					});			
				 },
				 error: function(XMLHttpRequest, textStatus, errorThrown) { alert(textStatus);
				 } 
		 });
});
		 
